package com.zzy.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzy.system.domain.GuanmaiSku;
import com.zzy.system.domain.GuanmaiSupplier;
import com.zzy.system.mapper.GuanmaiSkuMapper;
import com.zzy.system.mapper.GuanmaiSupplierMapper;
import com.zzy.system.service.IGuanmaiSkuService;
import com.zzy.system.service.IGuanmaiSupplierService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GuanmaiSupplierServiceImpl extends ServiceImpl<GuanmaiSupplierMapper, GuanmaiSupplier> implements IGuanmaiSupplierService {
    private static final Logger log = LoggerFactory.getLogger(GuanmaiSupplierServiceImpl.class);


    @Override
    public void saveSupplierInfo(List<GuanmaiSupplier> guanmaiSupplierList) {
        if(!guanmaiSupplierList .isEmpty()){

            this.saveBatch(guanmaiSupplierList);
        }

    }
}